package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务节点对象 dataset_raster_task_node
 *
 * @author rww
 * @date 2024-09-21
 */
public class DatasetRasterTaskNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String type;
    public static String type_start = "start";//开始节点

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;// 10 开始  20 完成  30 执行失败

    /** left */
    @Excel(name = "left")
    private String left;

    /** top */
    @Excel(name = "top")
    private String top;

    /** ico */
    @Excel(name = "ico")
    private String ico;

    /** 配置 */
    @Excel(name = "配置")
    private String config;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setLeft(String left)
    {
        this.left = left;
    }

    public String getLeft()
    {
        return left;
    }
    public void setTop(String top)
    {
        this.top = top;
    }

    public String getTop()
    {
        return top;
    }
    public void setIco(String ico)
    {
        this.ico = ico;
    }

    public String getIco()
    {
        return ico;
    }
    public void setConfig(String config)
    {
        this.config = config;
    }

    public String getConfig()
    {
        return config;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("name", getName())
            .append("type", getType())
            .append("status", getStatus())
            .append("left", getLeft())
            .append("top", getTop())
            .append("ico", getIco())
            .append("config", getConfig())
            .toString();
    }
}
